package com.platform.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.ApiPostsPictureMapper;
import com.platform.entity.PostsPictureVo;
 
/**
 * 帖子图片表Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-03 11:24:17
 */
@Service 
public class ApiPostsPictureService   {
    @Autowired
    private ApiPostsPictureMapper postsPictureDao;

     
    public PostsPictureVo queryObject(Integer id) {
        return postsPictureDao.queryObject(id);
    }

     
    public List<PostsPictureVo> queryList(Map<String, Object> map) {
        return postsPictureDao.queryList(map);
    }

     
    public int queryTotal(Map<String, Object> map) {
        return postsPictureDao.queryTotal(map);
    }

     
    public int save(PostsPictureVo postsPicture) {
        return postsPictureDao.save(postsPicture);
    }

     
    public int update(PostsPictureVo postsPicture) {
        return postsPictureDao.update(postsPicture);
    }

     
    public int delete(Integer id) {
        return postsPictureDao.delete(id);
    }

     
    public int deleteBatch(Integer[]ids) {
        return postsPictureDao.deleteBatch(ids);
    }
}
